package com.dizang.sharding.infrastrusture.entity;

import java.io.Serializable;

import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

/**
 * 
 * @author kelvin
 * @since  2019
 *
 */
@Data
@Table(name = "t_user")
public class User implements Serializable {

    /**
     * 
     */
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@Id
	private Long id;

	/**
	 * userId
	 */
	private Long userId;

	/**
	 * 名字
	 */
	private String name;

	/**
	 * 年龄
	 */
	private Integer age;

}